package com.qingbo.wu.subject.domain.convert;

import com.qingbo.wu.subject.domain.entity.SubjectCategoryBO;
import com.qingbo.wu.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Auther: qingbo.wu
 * @Date: 2024/5/29 17:56
 * @Description:
 */
@Mapper
public interface SubjectCategoryConvert {

    SubjectCategoryConvert INSTANCE = Mappers.getMapper(SubjectCategoryConvert.class);


    SubjectCategory convertToSubjectCategory(SubjectCategoryBO subjectCategoryBO);

    List<SubjectCategoryBO> convertToSubjectCategoryBOList(List<SubjectCategory> subjectCategoryList);
}
